﻿@model MvcMusicStore.Album

@{
    ViewBag.Title = "Album purchased before!";
}

<h2>Album purchased before</h2>

<div id="search">
    <ul id="album-list">

        <li><a href="@Url.Action("Details", "Store", new { id = Model.id })">
                <img alt="@Model.titleAlbum" src="@Model.coverAlbum" />
                <p>@Model.titleAlbum</p>
                <span><em>Genre:</em>@Model.Genre.nameGenre</span> <span><em>Artist:</em>@Model.Author.nameAuthor</span>
                <span><em>Price:</em>@String.Format("{0:F}", Model.coustAlbum)</span> </a>
            <p class="button">
                @Html.ActionLink("Get back!", "Details", "Store", new { id = Model.id }, "")
            </p>
        </li>
    </ul>
</div>
